@import 'src/res/theme/xxhz';



.goods-ig-img-list-search {
  margin: 20px;
}

.search-top {
  z-index: 99;
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;

  .at-search-bar__action {
    border-radius: 64px;
  }

  .tabs {
    position: relative;
    top: -1Px;
    background: #fff;
    padding: 30px 0;
    width: 100%;
    display: flex;
    align-items: center;
  }

  .subNav {
    flex-grow: 1;
  }
}

.nav-box {
  background: #fff;
  display: flex;
  width: 100%;
  font-size: 30px;
  text-align: center;

  .at-search-bar__action {
    border-radius: 64px;
  }

  .tab-in-active {
    color: #c0c1c4;
  }

  .tab-active {
    color: #ffa000 !important;
  }

  .tab-active {
    color: $mainColor !important;
  }

  .tabs-cat {
    display: flex;
    justify-content: center;

    .topOrBottom {
      margin-left: 6px;
      display: flex;
      height: 32px;
      line-height: 20px;
      flex-direction: column;

      .at-icon, at-icon {
        height: 16px;
      }
    }
  }

  .nav-item {
    color: #666;
    width: 20%;
    flex-shrink: 0;
  }

  .active {
    color: #333;
  }
}

.search-root {
  width: 100%;

  .listNull {
    padding: 0;
    position: inherit;
    top: 50%;
    left: auto;
    text-align: center;

    .listNull_img {
      margin: 0;
      height: 100%;
    }

    .text {
      font-size: 24px;
      color: #898989;
    }

    .taro-img__mode-widthfix {
      width: 15%;
      height: auto !important;
      margin: 0 !important;
    }

    .taro-img__mode-widthfix-h5 {
      width: 35% !important;
      height: auto !important;
      margin: 0 !important;
    }
  }

  .wrapper {
    padding: 16px 24px;

    .wrapper-item {
      width: 100%;
      overflow: hidden;

      .discount {
        min-width: 50px;
        position: absolute;
        left: 0;
        top: 0;
        color: #fff;
        background-color: #ff2402;
        border-radius: 10px 26px 26px 0;
        text-align: center;
        padding: 0 10px;
        font-size: 22px;
        white-space: nowrap;
      }

      .items {
        margin-bottom: 18px;
        background: #fff;
        padding: 40px 32px;
        display: flex;
        border-radius: 16px;
        align-items: flex-start;
        min-height: 200px;
        justify-content: space-between;

        .right-top {
          .pro-name {
            -webkit-line-clamp: 3;
            /*! autoprefixer: ignore next */
            -webkit-box-orient: vertical;
            /* autoprefixer: on */
            overflow: hidden;
            font-size: 24px;
            text-overflow: ellipsis;
            display: -webkit-box;
          }

          .label {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            flex-wrap: wrap;

            .labels {
              margin-top: 8px;
              white-space: nowrap;
              margin-right: 8px;
              border-radius: 26px;
              color: #ff601b;
              padding: 6px 10px;
              font-size: 18px;
              text-align: center;
              border: 1Px solid #ff601b;
            }

            .labels:last-child {
              margin-right: 0;
            }
          }
        }

        .items-left {
          position: relative;
          margin-right: 14px;
          height: 200px;

          image, .image, .taro-img {
            border-radius: 10px;
            width: 200px;
            height: 200px;
          }
        }

        .items-right {
          min-height: 200px;
          width: 100%;
          display: flex;
          align-items: center;
          justify-content: space-between;
          flex-direction: column;

          .right-top {
            width: 100%;
          }

          .price {
            color: #f93d01;
            font-size: 24px;
            margin-bottom: -5px;
          }

          .true-price {
            color: #f93d01;
            font-size: 40px;
            font-weight: bolder;
          }

          .price-right {
            margin-left: 6px;
            color: #969696;
            display: inline-block;

            .line {
              position: absolute;
              width: 100%;
              top: 50%;
              height: 1Px;
              font-family: Avenir;
              left: -4px;
              margin: inherit;
              background: inherit;
            }
          }

          .share-earn {
            width: 200px;
            height: 68px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: url("https://resource.ivcheng.com/upload/images/20210824/1629767380064_99.png") no-repeat;
            background-size: cover;

            .share-left {
              font-weight: bold;
              margin-top: 8px;
              width: 50%;
              font-size: 20px;
              color: #332215;
            }

            .price {
              min-width: 50%;
              color: #fff;
              font-size: 20px;

              .true-price-share {
                color: #fff;
                font-size: 35px;
                font-weight: 600;

                .price-jiao {
                  font-size: 22px;
                }
              }
            }
          }

          .snapped-up {
            width: 160px;
            padding: 8Px 4Px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 32px;
            text-align: center;
            color: #000;
            background: #ffdd09;
            font-size: 22px;
          }

          .right-price {
            white-space: nowrap;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;

            .font-family-price {
              font-family: Avenir !important;
            }

            .m-min-b {
              position: relative;
              bottom: -6px;
            }

            .golook {
              font-size: 20px;
            }
          }
        }
      }
    }
  }

  .hot-key {
    width: 100%;
    box-sizing: border-box;
    padding: 30px 30px 10px;

    .title {
      font-size: 32px;
      color: $color-font-less;
      box-sizing: border-box;
      padding: 10px;
    }

    .content {
      width: 100%;
      display: flex;
      justify-content: flex-start;
      flex-wrap: wrap;

      .tag-box {
        padding: 10px;

        .tag {
          width: 100%;
          background-color: white;
          text-align: center;
          font-size: 28px;
          color: $color-font-less;
          border: solid 1px #ddd;
          border-radius: 26px;
          box-sizing: border-box;
          padding: 8px 20px;
        }
      }
    }
  }

  .search-result {
    width: 100%;
    box-sizing: border-box;
    background-color: white;

    .good-item {
      width: 100%;
      border-bottom: solid 1Px #ddd;
      padding: 30px 0;
    }

    .good-item:last-child {
      border-bottom: none;
    }
  }

}
